import 'package:flutter/material.dart';

class HomePage extends StatefulWidget {
  HomePage({Key? key}) : super(key: key);

  @override
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  void initState() {
    // TODO: implement initState
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Column(children: [
      ElevatedButton(
          onPressed: () {
            Navigator.pushNamed(context, "/login");
          },
          child: Text('Login')),
      ElevatedButton(
          onPressed: () {
            Navigator.pushNamed(context, "/register");
          },
          child: Text('Register1'))
    ]);
  }
}
